package com.chaoxing.ai.speech.service;

import com.baidu.aip.speech.AipSpeech;
import it.sauronsoftware.jave.EncoderException;

import java.util.List;
import java.util.Map;

/**
 * @Description: 语音服务层
 */
public interface SpeechService {

    public String speechRecognition(String templatepath,String fileName,String suffixName) throws EncoderException;

    public String speechRecognition8(String templatepath,String fileName,String suffixName) throws EncoderException;

    public String inSpeechRecognition(String words);

    public Map<String, Object> handlerSpeechByObjectId2(String objectId, AipSpeech client);

    void deleteFileByPath(List<String> filePathList);

    void executeCommand(String cmdCommand);

}
